#ifndef USER_H
#define USER_H

#include <QWidget>
#include <QTcpServer>
#include <QTcpSocket>

namespace Ui {
class user;
}

class user : public QWidget
{
    Q_OBJECT

public:
    explicit user(QWidget *parent = nullptr);
    ~user();
    void paintEvent(QPaintEvent *event);
    QTcpServer *server;
private slots:
    void on_pushButton_clicked();


private:
    Ui::user *ui;
};

#endif // USER_H
